import request from 'utils/request.js'

/**
 * 文件上传接口
 * @param {*} data 
 * @returns 
 */
export const uploadFile = (data) => {
  return request({
    url:'/upload',
    method:'POST',
    data
  })
}